package com.lagou.orders.service;

import com.lagou.domain.Orders;
import com.lagou.vo.OrdersVO;

import java.util.Map;

public interface OrdersService {

    /**
     * 根据id查询订单信息
     * @param id
     * @return
     */
    Orders getOrdersById(Integer id);

    /**
     * 分页查询订单信息
     * @param ordersVO
     * @return
     */
    Map<String,Object> getOrdersByPage(OrdersVO ordersVO);
}
